package com.zzw.springboot.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zzw.springboot.controller.dto.UserDto;
import com.zzw.springboot.controller.dto.UserPasswordDTO;
import com.zzw.springboot.entity.User;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author zzw
 * @since 2022-05-10 22:11:15
 */
public interface IUserService extends IService<User> {

    UserDto login(UserDto userDto);

    User register(UserDto userDto);

    void updatePwd(UserPasswordDTO userPasswordDTO);

    Page<User> findPage(Page<User> userPage, String username, String email, String address);
}
